package com.easybuilder.core.authorization.service;

import com.alibaba.fastjson.JSONObject;
import com.easybuilder.core.rbac.entity.SysUser;

public interface LoginService {

    SysUser login(String username, String password);

    boolean logout(String token);

    JSONObject regist(SysUser sysUser);

    boolean check(String token);
}
